import QtQuick 1.0

Item {
    id: container

    signal clicked

    width: 800
    height: 480

    Image {
        id: image
        anchors.centerIn: parent
        source: "gfx/empty_landscape.png"

        MouseArea {
            anchors.fill: parent
            onClicked: container.clicked();
        }
        Text {
            x: 113
            y: 38
            color: "#3c9339"
            font.pixelSize: 26
            font.bold: true
            textFormat: Text.RichText
            text: qsTr("      QML Planning Poker - v1.0.3")
        }
        Text {
            x: 32
            y: 94
            font.pixelSize: 22
            font.italic: true
            textFormat: Text.RichText
            text: qsTr("Development:")
        }
        Text {
            x: 32
            y: 121
            font.pixelSize: 20
            text: qsTr(" - Juha Ristolainen <juha.ristolainen@futurice.com>")
        }
        Text {
            x: 32
            y: 163
            font.pixelSize: 22
            font.italic: true
            textFormat: Text.RichText
            text: qsTr("Graphics:")
        }
        Text {
            x: 32
            y: 190
            font.pixelSize: 20
            text: qsTr(" - Jari Suksi <jari.suksi@futurice.com>")
        }
        Text {
            x: 32
            y: 214
            font.pixelSize: 20
            text: qsTr(" - Antti Mattila <antti.mattila@futurice.com>")
        }

        Text {
            x: 54
            y: 282
            font.pixelSize: 18
            textFormat: Text.RichText
            text: qsTr("See more at")
        }

        Text {
            x: 155
            y: 282
            color: urlMouseArea.containsMouse ? "#3c9339" : "#0d6aec"
            font.pixelSize: 18
            textFormat: Text.RichText
            text: qsTr("www.futurice.com")
            MouseArea {
                id: urlMouseArea
                z: 100
                x: -20
                y: -20
                hoverEnabled: true
                width: parent.width + 40
                height: parent.height + 40
                onClicked: {
                    console.log("Open Futurice web-page");
                    Qt.openUrlExternally(qsTr("http://www.futurice.com"));
                }
            }
        }
    }
}

